import request from "@/router/axios";
//分类列表
export function classificationList() {
    return request({
        url: "/cp/marketingclassificationwechat/index",
        method: "get",
    });
}
// 推荐开始

// 查询推荐列表
export function getRecommendedList(query) {
    return request({
        url: "/cp/marketingrecwechat/page",
        method: "get",
        params: query
    });
}
// 推荐结束
//热榜开始

// 查询当前热榜发布方式
export function hotState(query) {
    return request({
        url: "/cp/marketinghotwechat/sate",
        method: "get",
        params: query
    });
}
// 得到素材打开次数和发送次数
export function sendAndOpenTimes(query) {
    return request({
        url: "/cp/marketinghotwechat/page",
        method: "get",
        params: query
    });
}
//得到素材打开次数和发送次数 类型
export function sendAndOpenTimesType(query) {
    return request({
        url: "/cp/marketinghotwechat/page_type",
        method: "get",
        params: query
    });
}
// 热榜结束

//文章标题模糊分页查询
export function getArticleList(query) {
    return request({
        url: "/cp/marketingarticlewechat/page",
        method: "get",
        params: query
    });
}
//链接名称模糊查询或分页查询
export function getLinkList(query) {
    return request({
        url: "/cp/marketinglinkwechat/page",
        method: "get",
        params: query
    });
}
//海报名称模糊查询或分页查询
export function getPostList(query) {
    return request({
        url: "/cp/marketingposterwechat/page",
        method: "get",
        params: query
    });
}
//pdf名称模糊查询或分页查询
export function getPdfList(query) {
    return request({
        url: "/cp/marketingpdfwechat/page",
        method: "get",
        params: query
    });
}
//ppt名称模糊查询或分页查询
export function getPptList(query) {
    return request({
        url: "/cp/marketingpptwechat/page",
        method: "get",
        params: query
    });
}
//表格名称模糊查询或分页查询
export function getExcelList(query) {
    return request({
        url: "/cp/marketingexcelwechat/page",
        method: "get",
        params: query
    });
}
//文档名称模糊查询或分页查询
export function getWordList(query) {
    return request({
        url: "/cp/marketingwordwechat/page",
        method: "get",
        params: query
    });
}
//统计发送次数接口
export function sendTimes(query) {
    return request({
        url: "/cp/marketinghotwechat/send",
        method: "get",
        params: query
    });
}

